package com.yswy.backstage.redislistener;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import redis.clients.jedis.JedisPubSub;

public class KeyExpiredListener extends JedisPubSub {

    Logger log = LoggerFactory.getLogger(KeyExpiredListener.class);

    @Override
    public void onPSubscribe(String pattern, int subscribedChannels) {
        log.info("启动redis过期监听： " + pattern + " " + subscribedChannels);
    }


}
